package com.zzxy.dao;

import com.zzxy.spring12.dao.IAccountDao;
public class AccountDaoImpl extends jabcDaoSupport implements IAccountDao {

    @Override
    public void out(String outer,int money){
        this.get.jdbcTemplate().update("update account set money = money-?where username=?",money,outer);

    }
    @Override
    public void in(String inner,int money){
        this.get.jdbcTemplate().update("update account set money = money+?where username=?",money,inter);
    }

}